@charset "utf-8";
@import "compass/reset";
html,body{
    height: 100%;
    -webkit-user-select: element;
}
*{transition-timing-function: ease-in-out;}
a{
    text-decoration: none;
}
a,button,input{-webkit-tap-highlight-color:rgba(255,0,0,0);outline: none;}
.f_l { float:left; }
.f_r { float:right; }
.clearfix:before, .clearfix:after {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}
.hide{
    display: none;
}
img{
    vertical-align: top;
    max-width: 100%;
}
body{
    position: relative;
    width: 640px;
    margin: 0 auto;
    font-size: 24px;
    -webkit-overflow-scrolling: touch;
    color: #939393;
    height: 100%;
    font-family: "Helvetica Neue",Helvetica,Arial,"Microsoft Yahei","Hiragino Sans GB","Heiti SC","WenQuanYi Micro Hei",sans-serif;
}

#wrap{
    width: 640px;
    height: 100%;
    min-height: 1008px;
    background: #000;
    padding-bottom: 1px;
}
.page{
    display: none;
    min-height: 100%;
}
.page-1{
    display: block;
}
.page-1{
    //display: block;
    position: relative;
    .clock{
        display: block;
        width: 240px;
        height: 138px;
        position: absolute;
        top: 678px;
        left: 38px;
    }
    .vote{
        display: block;
        width: 224px;
        height: 186px;
        position: absolute;
        top: 783px;
        right: 43px;
    }
}
.page-2{
    position: relative;
    .item{
        display: inline-block;
        position: absolute;
        i{
            display: block;
        }
        span{
            font-size: 24px;
            font-weight: bold;
            color: #fff;
        }
        &:nth-child(2){
            left: 4px;
            top: 308px;
            i{
                width: 145px;
                height: 136px;
                background: url(../img/yxc.png) no-repeat;
            }
            span{
                display: inline-block;
                margin: 20px 0 0 55px;
            }
            &.active{
                i{
                    background-position: 0 -136px;
                }
            }
        }
        &:nth-child(3){
            left: 227px;
            top: 197px;
            i{
                width: 169px;
                height: 127px;
                background: url(../img/gwzx.png) no-repeat;
            }
            span{
                display: inline-block;
                margin-left: 58px;
            }
            &.active{
                i{
                    background-position: 0 -127px;
                }
            }
        }
        &:nth-child(4){
            right: 10px;
            top: 187px;
            i{
                width: 123px;
                height: 113px;
                background: url(../img/tygc.png) no-repeat;
            }
            span{
                display: inline-block;
                margin: 14px 0 0 20px;
            }
            &.active{
                i{
                    background-position: 0 -113px;
                }
            }
        }
        &:nth-child(5){
            left: 79px;
            top: 494px;
            i{
                width: 165px;
                height: 149px;
                background: url(../img/kg.png) no-repeat;
            }
            span{
                display: inline-block;
                margin: 0 0 0 24px;
            }
            &.active{
                i{
                    background-position: 0 -149px;
                }
            }
        }
        &:nth-child(6){
            left: 268px;
            top: 381px;
            i{
                width: 201px;
                height: 106px;
                background: url(../img/ytdm.png) no-repeat;
            }
            span{
                display: inline-block;
                margin: 12px 0 0 24px;
            }
            &.active{
                i{
                    background-position: 0 -106px;
                }
            }
        }
        &:nth-child(7){
            right: 0;
            top: 416px;
            i{
                width: 119px;
                height: 129px;
                background: url(../img/wd.png) no-repeat;
            }
            span{
                display: inline-block;
                margin: 14px 0 0 0;
            }
            &.active{
                i{
                    background-position: 0 -129px;
                }
            }
        }
        &:nth-child(8){
            left: 18px;
            top: 698px;
            i{
                width: 168px;
                height: 155px;
                background: url(../img/hydd.png) no-repeat;
            }
            span{
                display: inline-block;
                margin: 12px 0 0 45px;
            }
            &.active{
                i{
                    background-position: 0 -155px;
                }
            }
        }
        &:nth-child(9){
            left: 254px;
            top: 594px;
            i{
                width: 133px;
                height: 134px;
                background: url(../img/yh.png) no-repeat;
            }
            span{
                display: inline-block;
                margin: 12px 0 0 26px;
            }
            &.active{
                i{
                    background-position: 0 -134px;
                }
            }
        }
        &:nth-child(10){
            right: 96px;
            top: 720px;
            i{
                width: 143px;
                height: 161px;
                background: url(../img/ytty.png) no-repeat;
            }
            span{
                display: inline-block;
                margin: 3px 0 0 -25px;
            }
            &.active{
                i{
                    background-position: 0 -161px;
                }
            }
        }
    }
    .footer{
        height: 75px;
        font-size: 0;
        position: absolute;
        height: 75px;
        width: 100%;
        bottom: 0;
        left: 0;
        text-align: center;
        a{
            font-size: 28px;
            color: #2229b6;
            display: inline-block;
            width: 270px;
            height: 75px;
            text-align: center;
            line-height: 55px;
            margin: 0 24px;
            background: url(../img/btn-bg.png) no-repeat;
        }
    }
}

.page-3{
    position: relative;
    .bg{
        position: absolute;
        top: 0;
        left: 0;
    }
    .home{
        position: absolute;
        display: block;
        background: url(../img/home.png) no-repeat;
        width: 276px;
        height: 138px;
        left: 50%;
        margin-left: -138px;
        top: 864px;
    }
    .scroll{
        width: 540px;
        height: 660px;
        margin: 0 auto;
        padding-right: 20px;
        box-sizing: border-box;
        position: relative;
        top: 176px;
        overflow: hidden;
    }
    .content{
        margin-left: 20px;
    }
    p{
        max-height: 300px;
        line-height: 40px;
        font-size: 24px;
        color: #fff;
    }
}

.page-4{
    position: relative;
    .bg{
        position: absolute;
        top: 0;
        left: 0;
    }
    .home{
        position: absolute;
        display: block;
        background: url(../img/home.png) no-repeat;
        width: 276px;
        height: 138px;
        left: 50%;
        margin-left: -138px;
        top: 864px;
    }
    .content{
        width: 440px;
        margin: 0 auto;
        text-align: center;
        position: relative;
        top: 258px;
        color: #fff;
    }
    .title{
        font-size: 36px;
        font-weight: bold;
        line-height: 45px;
        margin-bottom: 5px;
    }
    .no-data{
        font-size: 26px;
        line-height: 40px;
    }
    li{
        font-size: 26px;
        line-height: 40px;
    }
    .info{
        padding: 30px;
        box-sizing: border-box;
        font-size: 22px;
        background: #131313;
        color: #686868;
        line-height: 33px;
        border-radius: 10px;
        margin-top: 27px;
        
    }
    .remain{
        font-size: 28px;
        height: 40px;
        line-height: 40px;
        margin-top: 70px;
    }
    .ui-button{
        display: inline-block;
        height: 36px;
        line-height: 36px;
        width: 130px;
        font-size: 20px;
        border-radius: 17px;
        border-bottom: 4px solid #a1690c;
        vertical-align: top;
        &.disabled{
            background: #696868;
            border-color: #3b3b3b;
            color: #bcb8b8;
            text-shadow: none;
        }
    }
}

.ui-button{
    display: inline-block;
    width: 217px;
    height: 72px;
    line-height: 72px;
    color: #150f12;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    line-height: 72px;
    border-radius: 35px;
    border-bottom: 6px solid #a1690c;
    background: #f9a110;
    text-shadow: 1px 1px 1px #fff;
}

.layermbox{
    .layer-sign{
        max-width: 560px !important;
        min-width: 560px !important;
        border-radius: 15px !important;
        .layermcont{
            padding: 24px 20px 75px;
        }
    }
    .laymshade{
        width: 640px;
        left: 50%;
        margin-left: -320px;
    }
    .layer-scan{
        max-width: 400px !important;
        min-width: 400px !important;
        border-radius: 10px !important;
        background: rgba(255,255,255,.9);
        .layermcont{
            padding: 98px 54px 18px;
        }
    }
    .layer-success{
        max-width: 570px !important;
        min-width: 570px !important;
        border-radius: 15px !important;
        margin-top: 100px;
        .layermcont{
            padding-bottom: 40px;
        }
    }
    .layer-animated{
        background: transparent !important;
    }
    .layer-prize{
        max-width: 570px !important;
        min-width: 570px !important;
        border-radius: 15px !important;
        .ui-button{
            margin: 50px 0 20px;
        }
    }
    .layer-regist{
        max-width: 570px !important;
        min-width: 570px !important;
        border-radius: 15px !important;
    }
}

#sign-box{
    .layer-close{
        display: block;
        position: absolute;
        height: 48px;
        width: 48px;
        border-radius: 50%;
        background: #f9a110 url(../img/icon-close.png) center center no-repeat;
        top: -24px;
        right: -24px;
    }
    .ui-button{
        position: absolute;
        bottom: 39px;
        left: 50%;
        margin-left: -108px;
    }
    &.disabled{
        .layer-close{
            background-color: #696868;
        }
        .ui-button{
            background: #696868;
            border-color: #3b3b3b;
            color: #bcb8b8;
            text-shadow: none;
        }
    }
}

#scan-box{
    font-size: 24px;
    line-height: 36px;
    color: #000;
    .tip{
        font-weight: bold;
        margin-top: 15px;
        margin-bottom: 38px;
    }
    .ui-button{
        width: 170px;
    }
}

#success-box{
    .header{
        position: absolute;
        width: 324px;
        height: 217px;
        left: 50%;
        margin-left: -162px;
        background: url(../img/cd.png) 0 bottom no-repeat;
        top: -108px;
    }
    .status{
        height: 217px;
        width: 217px;
        background: #f95b50;
        color: #fff;
        border-radius: 50%;
        font-size: 36px;
        font-weight: bold;
        line-height: 40px;
        margin: 0 auto;
        display: -webkit-box;
        -webkit-box-align: center;
        -webkit-box-pack: center;
        text-align: center;
    }
    .title{
        font-size: 40px;
        color: #f95b50;
        line-height: 50px;
        font-weight: bold;
        margin-top: 125px;
        margin-bottom: 40px;
    }
    .ui-button{
        margin-top: 60px;
    }
}

#no-prize-box{
    .status{
       font-size: 52px;
       font-weight: bold;
       color: #f95b50;
       line-height: 52px;
       margin: 57px 0 66px;
    }
    p{
        line-height: 36px;
        font-size: 24px;
        color: #686868;
        margin-bottom: 20px;
    }
}

#prize-box{
    .status{
        font-size: 52px;
        font-weight: bold;
        color: #f95b50;
        line-height: 52px;
        margin: 66px 0 45px;
    }
    .red-pakage{
        width: 374px;
        height: 407px;
        margin: 0 auto;
        background: url(../img/red-pakage.png) no-repeat;
    }
    .gift{
        margin-top: 13px;
    }
}

#regist-box{
    .title{
        font-size: 52px;
        font-weight: bold;
        color: #f95b50;
        line-height: 52px;
        margin: 57px 0 60px;
    }
    .ui-button{
        margin: 30px 0 20px;
    }
    .ui-item{
        display: inline-block;
        width: 420px;
        height: 66px;
        line-height: 66px;
        font-size: 0;
        border-radius: 33px;
        overflow: hidden;
        vertical-align: top;
        margin-bottom: 20px;
    }
    label{
        display: inline-block;
        width: 140px;
        font-size: 28px;
        font-weight: bold;
        color: #000;
        background: #f98b83;
        vertical-align: top;
        text-align: right;
    }
    input{
        width: 280px;
        border: 0;
        height: 66px;
        box-sizing: border-box;
        outline: none;
        background: #f95b50;
        text-align: left;
        padding: 15px 33px;
        line-height: 36px;
        font-size: 28px;
        border-radius: 0;
    }
    .tips{
        font-size: 24px;
        color: #150f12;
        line-height: 36px;
        margin-top: 80px;
    }
}

#result-box{
    .title{
        font-size: 52px;
        font-weight: bold;
        color: #f8a113;
        line-height: 52px;
        margin: 30px 0;
    }
    .ui-button{
        margin: 30px 0 20px;
    }
    .tips{
        font-size: 24px;
        color: #150f12;
        line-height: 36px;
        margin-top: 50px;
    }
    p{
        color: #a6a6a6;
    }
    .username,.phone{
        font-size: 28px;
        font-weight: bold;
        color: #f8a113;
        text-align: left;
        line-height: 50px;
        padding: 0 100px;
        box-sizing: border-box;
        overflow: hidden;
        height: 50px;
    }
}

//remind
.modal {
    height: 100%;
    position: fixed;
    z-index: 19891015;
    width: 640px;
    top: 0;
    background: rgba(0,0,0,.7);
}

#remind{
    width: 461px;
    height: 200px;
    position: fixed;
    box-sizing: border-box;
    border-radius: 15px;
    top: 50%;
    left: 50%;
    margin-top: -100px;
    margin-left: -230px;
    z-index: 99999999;
    display: -webkit-box;
    -webkit-box-align: center;
    background: #ededed;
    .content{
        color: #000;
        font-size: 28px;
        text-align: center;
        width: 381px;
        padding: 20px 40px;
        line-height: 45px;
    }
}

.iScrollVerticalScrollbar {
  position: absolute;
  z-index: 9999;
  width: 10px;
  bottom: 2px;
  top: 2px;
  right: 0;
  overflow: hidden;
}

.iScrollVerticalScrollbar.iScrollBothScrollbars {
  bottom: 18px;
}

.iScrollIndicator {
  position: absolute;
  border-radius: 10px;
}

.iScrollVerticalScrollbar .iScrollIndicator {
  width: 100%;
  background: #363bbf;
}
